﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GodPl
{
    public partial class GameScreen : Form
    {

        GodPlGame game;

        public GodPlGame Game
        {
            set { game = value; }
            get { return game; }
        }

        public GameScreen()
        {
            InitializeComponent();
        }


        public IntPtr DrawSurface
        {
            get { return pctSurface.Handle; }
        }

        private void GameScreen_Load(object sender, EventArgs e)
        {
            
        }

        private void GameScreen_FormClosing(object sender, FormClosingEventArgs e)
        {

        }

        private void GameScreen_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }

        private void btnPause_Click(object sender, EventArgs e)
        {
            
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void btnCreate_Click(object sender, EventArgs e)
        {
            GodPlGame.World.AddRandomBriyya();
        }

        private void groupBox2_Enter(object sender, EventArgs e)
        {

        }

        private void btnDelete_Click(object sender, EventArgs e)
        {

        }



        


    }
}
